using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    public class MRPCustomers
    {
        string customercode;
        string customername;
        string customeraddress;
        string customerphonenumber;
        string customerfaxnumber;
        DateTime startdate;
        string nationalcode;
        int customertypecode;
        ISet mrpmasterexportList;
        ISet mrpmasterimportList;
        ISet mrpmasterordersList;

        public MRPCustomers()
        {

        }

        public virtual string Customercode
        {
            get { return customercode; }
            set { customercode = value; }
        }

        public virtual string Customername
        {
            get { return customername; }
            set { customername = value; }
        }

        public virtual string Customeraddress
        {
            get { return customeraddress; }
            set { customeraddress = value; }
        }

        public virtual string Customerphonenumber
        {
            get { return customerphonenumber; }
            set { customerphonenumber = value; }
        }

        public virtual string Customerfaxnumber
        {
            get { return customerfaxnumber; }
            set { customerfaxnumber = value; }
        }

        public virtual DateTime Startdate
        {
            get { return startdate; }
            set { startdate = value; }
        }

        public virtual string Nationalcode
        {
            get { return nationalcode; }
            set { nationalcode = value; }
        }

        public virtual int Customertypecode
        {
            get { return customertypecode; }
            set { customertypecode = value; }
        }

        public virtual ISet MrpmasterexportList
        {
            get { return mrpmasterexportList; }
            set { mrpmasterexportList = value; }
        }

        public virtual ISet MrpmasterimportList
        {
            get { return mrpmasterimportList; }
            set { mrpmasterimportList = value; }
        }

        public virtual ISet MrpmasterordersList
        {
            get { return mrpmasterordersList; }
            set { mrpmasterordersList = value; }
        }

        public override string ToString()
        {
            String s = "";
            if (customercode != null)
                s += "customercode : " + customercode.ToString() + "\n";
            else
                s += "customercode : null\n";
            if (customername != null)
                s += "customername : " + customername.ToString() + "\n";
            else
                s += "customername : null\n";
            if (customeraddress != null)
                s += "customeraddress : " + customeraddress.ToString() + "\n";
            else
                s += "customeraddress : null\n";
            if (customerphonenumber != null)
                s += "customerphonenumber : " + customerphonenumber.ToString() + "\n";
            else
                s += "customerphonenumber : null\n";
            if (customerfaxnumber != null)
                s += "customerfaxnumber : " + customerfaxnumber.ToString() + "\n";
            else
                s += "customerfaxnumber : null\n";
            if (startdate != null)
                s += "startdate : " + startdate.ToString() + "\n";
            else
                s += "startdate : null\n";
            if (nationalcode != null)
                s += "nationalcode : " + nationalcode.ToString() + "\n";
            else
                s += "nationalcode : null\n";
            if (customertypecode != null)
                s += "customertypecode : " + customertypecode.ToString() + "\n";
            else
                s += "customertypecode : null\n";
            return s;
        }
    }
}
